package com.zhangxu.microservice.system.web.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Size;
import lombok.Data;

/**
 * 更新角色请求
 */
@Data
@Schema(description = "更新角色请求")
public class UpdateRoleReq {

    @Schema(description = "角色描述", example = "系统管理员角色")
    @Size(max = 255, message = "角色描述长度不能超过255个字符")
    private String description;
}